package com.quick.develop.business.convert;

import com.quick.develop.business.entity.EnvironmentalFactorEntity;
import com.quick.develop.business.vo.EnvironmentalFactorVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 环境因素任务信息
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface EnvironmentalFactorConvert {
    EnvironmentalFactorConvert INSTANCE = Mappers.getMapper(EnvironmentalFactorConvert.class);

    EnvironmentalFactorEntity convert(EnvironmentalFactorVO vo);

    EnvironmentalFactorVO convert(EnvironmentalFactorEntity entity);

    List<EnvironmentalFactorVO> convertList(List<EnvironmentalFactorEntity> list);

}